package www.notice;

import www.member.sqlmap.GetSqlMapClient;

import com.ibatis.sqlmap.client.SqlMapClient;

public class NoticeMgrCreateTest {

    public static void main(String[] args) throws Exception{
        SqlMapClient sqlMapClient = GetSqlMapClient.get();
        
        NoticeMgr mgr= new NoticeMgr();
        //MemberDAO dao= new MemberDAO();
        NoticeDTO dto= new NoticeDTO();
        dto.setNoticeno(4);
        dto.setNickname("abcde");
        dto.setTitle("123456");
        dto.setContents("abcdef@naver.com");
        dto.setProfilephoto("profile2.jpg");
        dto.setNoticedate("2014-10-27");
        
    
        Object obj = mgr.create(dto);
        System.out.println(obj);

    }

}
